<include file="nav:headr"/>
<script src="__upFile__/jquery.uploadify.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="__upFile__/uploadify.css"/>
<div class="container">
    <div class="row">
        <div style="height: 30px"></div>
        <div class="col-md-2">
            <include file="tools:tools_sider"/>
        </div>
        <div class="col-md-10">
            <div class="page-header">
                <h4>{$page_title}</h4>
            </div>
            <div class="btn-group" role="group" aria-label="...">
                <a  href="{:U('Navs/index')}" type="button" class="btn btn-default">بارلىق تىزىملىكلەر</a>
            </div>
            <br><br>
            <form action="{:U('Navs/savehend')}" method="post">
                <input type="hidden" name="id" value="{$navs['id']}">
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-group">
                            <input name="name" type="text" class="form-control" value="{$navs['name']}">
                        </div>
                        <div class="form-group">
                            <input name="url" type="text" class="form-control" value="{$navs['url']}">
                        </div>
                        <div class="form-group">
                            <input name="sort" type="number" class="form-control" value="{$navs['sort']}">
                        </div>
                        <div class="form-group">
                            <label class="radio-inline">

                                <input type="radio" name="status"  value="1" <if condition="$navs['status']">checked</if> > ئوچۇق
                            </label>
                            <label class="radio-inline">
                                <input type="radio" name="status"  value="0" <if condition="!$navs['status']">checked</if>> تاقاق
                            </label>
                        </div>
                        <button type="submit" class="btn btn-primary">ساقلاش</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div style="height: 400px"></div>

<include file="nav:footer" />